﻿using PARK.Common.Const;
using SqlSugar;
using System;

namespace PARK.Consumer.Entitys
{
    /// <summary>
    /// 商户档案
    /// </summary>
    [SugarTable("consum_merchant")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class ConsumMerchantEntity
    {
        /// <summary>
        /// 商户Id
        /// </summary>
        [SugarColumn(ColumnName = "MerchantId", IsPrimaryKey = true)]
        public string MerchantId { get; set; }
        
        /// <summary>
        /// 商户编号
        /// </summary>
        [SugarColumn(ColumnName = "MerchantCode")]        
        public string MerchantCode { get; set; }
        
        /// <summary>
        /// 商户名称
        /// </summary>
        [SugarColumn(ColumnName = "MerchantName")]        
        public string MerchantName { get; set; }
        
        /// <summary>
        /// 负责任
        /// </summary>
        [SugarColumn(ColumnName = "Chargepername")]        
        public string Chargepername { get; set; }
        
        /// <summary>
        /// 联系电话
        /// </summary>
        [SugarColumn(ColumnName = "Chargepertel")]        
        public string Chargepertel { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "Remarks")]        
        public string Remarks { get; set; }
        
        /// <summary>
        /// 创建人Id
        /// </summary>
        [SugarColumn(ColumnName = "CreateUser")]        
        public string CreateUser { get; set; }
        
        /// <summary>
        /// 创建人姓名
        /// </summary>
        [SugarColumn(ColumnName = "CreateUserName")]        
        public string CreateUserName { get; set; }
        
        /// <summary>
        /// 创建日期
        /// </summary>
        [SugarColumn(ColumnName = "CreateDate")]        
        public DateTime? CreateDate { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "LastUpdateUser")]        
        public string LastUpdateUser { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "LastUpdateUserName")]        
        public string LastUpdateUserName { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "LastUpdateDate")]        
        public DateTime? LastUpdateDate { get; set; }
        
        /// <summary>
        /// 删除标记 1是 0否
        /// </summary>
        [SugarColumn(ColumnName = "IsDeleted")]        
        public int? IsDeleted { get; set; }
        
        /// <summary>
        /// 删除人
        /// </summary>
        [SugarColumn(ColumnName = "DeleteUser")]        
        public string DeleteUser { get; set; }
        
        /// <summary>
        /// 删除人姓名
        /// </summary>
        [SugarColumn(ColumnName = "DeleteUserName")]        
        public string DeleteUserName { get; set; }
        
        /// <summary>
        /// 删除时间
        /// </summary>
        [SugarColumn(ColumnName = "DeleteDate")]        
        public DateTime? DeleteDate { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Dbtimestamp")]        
        public string Dbtimestamp { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "SortCode")]        
        public int? SortCode { get; set; }

        /// <summary>
        /// 所属公司Id
        /// </summary>
        [SugarColumn(ColumnName = "CompanyId")]
        public string CompanyId { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        [SugarColumn(ColumnName = "CompanyName")]
        public string CompanyName { get; set; }

    }
}